mob
	Click()
		remove_health()
		view() << "[usr] hit [src]."



mob
	proc
		remove_health(amount=1) //lets you put any value for amount, default is 1
			if(usr.equiped == "Gun")
				src.health-=2
				if(src.health<=0)
					src.health=0
					src<<"You're Dead!"
					world << "[src] has died!"
					src.respawn()
			if(usr.equiped == "Wrench")
				src.health-=2
				if(src.health<=0)
					src.health=0
					src<<"You're Dead!"
					world << "[src] has died!"
					src.respawn()
			else
				src.health-=amount
				if(src.health<=0) //the result of health-amount might not be 1.
					src.health=0 //try not to let things hit the negatives
					src<<"You're Dead!"
					world << "[src] has died!"
					src.respawn() //you don't need to put src. in pretty much any proc.

mob
	proc
		respawn()
			if(src.job == "Captain")
				respawncaptain()
				src.health = 10
			if(src.job == "Security")
				respawnsecurity()
				src.health = 10
			if(src.job == "Assistant")
				respawnassistant()
				src.health = 10

		respawncaptain()
			src.Move(locate(3,16,1))
			src.rechangeview()
			src.verbs += typesof(/mob/chat/verb)
			src.checkadmin()

		respawnsecurity()
			src.Move(locate(2,27,1))
			src.rechangeview()
			src.verbs += typesof(/mob/chat/verb)
			src.checkadmin()

		respawnassistant()
			src.Move(locate(10,27,1))
			src.rechangeview()
			src.verbs += typesof(/mob/chat/verb)
			src.checkadmin()

		rechangeview()
			client.view = 9

